<template>
	<view>
		<view class="null_box">
			<image :src="mainImageUrl + '/static/null_img.png'" mode=""></image>
			<text>{{title}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		name:"null-box",
		props: {
			title:{
				type: String,
				default: '暂无数据',
			},
		},
		data() {
			return {
				mainImageUrl: this.mainImageUrl,
			};
		}
	}
</script>

<style>
	.null_box{
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		z-index: 999;
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: #f8fbff;
		padding-top: 300rpx;
		font-size: 28rpx;
		color: #999999;
	}
	.null_box image{
		width: 480rpx;
		height: 300rpx;
		margin-bottom: 20rpx;
	}
</style>